﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class QuadTree
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class QuadTree
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree">
  
  
  <h1 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree" class="text-break">Class QuadTree
  </h1>
  <div class="markdown level0 summary"><p>Constructs a Quad-tree node from a object list and creates its children recursively</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">QuadTree</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.html">Mapsui.Desktop.Shapefile.Indexing</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.Desktop.dll</h6>
  <h5 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class QuadTree : IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree__ctor_List_Mapsui_Desktop_Shapefile_Indexing_QuadTree_BoxObjects__System_UInt32_Mapsui_Desktop_Shapefile_Indexing_Heuristic_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.%23ctor(List%7BMapsui.Desktop.Shapefile.Indexing.QuadTree.BoxObjects%7D%2CSystem.UInt32%2CMapsui.Desktop.Shapefile.Indexing.Heuristic)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L76">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree__ctor_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.#ctor*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree__ctor_List_Mapsui_Desktop_Shapefile_Indexing_QuadTree_BoxObjects__System_UInt32_Mapsui_Desktop_Shapefile_Indexing_Heuristic_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.#ctor(List{Mapsui.Desktop.Shapefile.Indexing.QuadTree.BoxObjects},System.UInt32,Mapsui.Desktop.Shapefile.Indexing.Heuristic)">QuadTree(List&lt;QuadTree.BoxObjects&gt;, UInt32, Heuristic)</h4>
  <div class="markdown level1 summary"><p>Creates a node and either splits the objects recursively into sub-nodes, or stores them at the node depending on the heuristics.
Tree is built top-&gt;down</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public QuadTree(List&lt;QuadTree.BoxObjects&gt; objList, uint depth, Heuristic heurdata)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">List</span>&lt;<a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.QuadTree.BoxObjects.html">QuadTree.BoxObjects</a>&gt;</td>
        <td><span class="parametername">objList</span></td>
        <td><p>Geometries to index</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.UInt32</span></td>
        <td><span class="parametername">depth</span></td>
        <td><p>Current depth of tree</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.Heuristic.html">Heuristic</a></td>
        <td><span class="parametername">heurdata</span></td>
        <td><p>Heuristics data</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Box.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Box%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L281">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Box_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Box*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Box" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Box">Box</h4>
  <div class="markdown level1 summary"><p>Gets/sets the Axis Aligned Bounding Box</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BoundingBox Box { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.BoundingBox.html">BoundingBox</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child0.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child0%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L290">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child0_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child0*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child0" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child0">Child0</h4>
  <div class="markdown level1 summary"><p>Gets/sets the left child node</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public QuadTree Child0 { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.QuadTree.html">QuadTree</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child1.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child1%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L299">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child1_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child1*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Child1" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Child1">Child1</h4>
  <div class="markdown level1 summary"><p>Gets/sets the right child node</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public QuadTree Child1 { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.QuadTree.html">QuadTree</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Depth.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Depth%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L308">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Depth_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Depth*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Depth" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Depth">Depth</h4>
  <div class="markdown level1 summary"><p>Gets the depth of the current node in the tree</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public uint Depth { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.UInt32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_IsLeaf.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.IsLeaf%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L264">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_IsLeaf_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.IsLeaf*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_IsLeaf" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.IsLeaf">IsLeaf</h4>
  <div class="markdown level1 summary"><p>Determines whether the node is a leaf (if data is stored at the node, we assume the node is a leaf)</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsLeaf { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Dispose.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Dispose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L313">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Dispose_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Dispose*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Dispose" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Dispose">Dispose()</h4>
  <div class="markdown level1 summary"><p>Disposes the node</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_ErrorMetric_Mapsui_Geometries_BoundingBox_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.ErrorMetric(Mapsui.Geometries.BoundingBox)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L326">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_ErrorMetric_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.ErrorMetric*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_ErrorMetric_Mapsui_Geometries_BoundingBox_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.ErrorMetric(Mapsui.Geometries.BoundingBox)">ErrorMetric(BoundingBox)</h4>
  <div class="markdown level1 summary"><p>Calculate the floating point error metric </p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double ErrorMetric(BoundingBox box)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.BoundingBox.html">BoundingBox</a></td>
        <td><span class="parametername">box</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_FromFile_System_String_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.FromFile(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L146">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_FromFile_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.FromFile*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_FromFile_System_String_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.FromFile(System.String)">FromFile(String)</h4>
  <div class="markdown level1 summary"><p>Loads a quadtree from a file</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static QuadTree FromFile(string filename)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">filename</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Desktop.Shapefile.Indexing.QuadTree.html">QuadTree</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_SaveIndex_System_String_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.SaveIndex(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L206">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_SaveIndex_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.SaveIndex*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_SaveIndex_System_String_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.SaveIndex(System.String)">SaveIndex(String)</h4>
  <div class="markdown level1 summary"><p>Saves the Quadtree to a file</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void SaveIndex(string filename)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">filename</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree_Search_Mapsui_Geometries_BoundingBox_.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree.Search(Mapsui.Geometries.BoundingBox)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L336">View Source</a>
  </span>
  <a id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Search_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Search*"></a>
  <h4 id="Mapsui_Desktop_Shapefile_Indexing_QuadTree_Search_Mapsui_Geometries_BoundingBox_" data-uid="Mapsui.Desktop.Shapefile.Indexing.QuadTree.Search(Mapsui.Geometries.BoundingBox)">Search(BoundingBox)</h4>
  <div class="markdown level1 summary"><p>Searches the tree and looks for intersections with the boundingbox &apos;bbox&apos;</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Collection&lt;uint&gt; Search(BoundingBox box)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Geometries.BoundingBox.html">BoundingBox</a></td>
        <td><span class="parametername">box</span></td>
        <td><p>Boundingbox to intersect with</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Collection</span>&lt;<span class="xref">System.UInt32</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Desktop_Shapefile_Indexing_QuadTree.md&amp;value=---%0Auid%3A%20Mapsui.Desktop.Shapefile.Indexing.QuadTree%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Desktop/Shapefile/Indexing/SpatialIndexing.cs/#L56" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
